package com.youthfilmic.yuejian.domain;

import java.io.Serializable;

/**
 * Created by youweixi on 15/10/29.
 */
public class WeixinOAuthInfo implements Serializable {

    //openId,unionId, nickName, picUrl, sex

    private String openId;
    private String unionId;
    private String nickName;
    private String picUrl;
    private int sex;
    private String targetUrl;

    public WeixinOAuthInfo(String openId , String unionId , String nickName , String picUrl , int sex , String targetUrl){
        this.openId = openId;
        this.unionId = unionId;
        this.nickName = nickName;
        this.sex = sex;
        this.picUrl = picUrl;
        this.targetUrl = targetUrl;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getUnionId() {
        return unionId;
    }

    public void setUnionId(String unionId) {
        this.unionId = unionId;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getPicUrl() {
        return picUrl;
    }

    public void setPicUrl(String picUrl) {
        this.picUrl = picUrl;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public String getTargetUrl() {
        return targetUrl;
    }

    public void setTargetUrl(String targetUrl) {
        this.targetUrl = targetUrl;
    }
}
